<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
</head>
<body>
    <div style="background:gray; color:#FFF">
    <center>

    <p style="color: red">{{ error_msg }}</p>

<form method="post">
    {% csrf_token %}

    <table>
        {{ form }}
    </table>

    <input type="submit" value='注册'>
</form>
<a href="{% url 'bbs:login' %}">点击前往登陆</a>
</center>

<br>
</div>

</body>
</html>
